package cn.layfolk.goods.service.impl;

import cn.layfolk.daimao.vo.TGoods;
import cn.layfolk.goods.mapper.TGoodsMapper;
import cn.layfolk.goods.service.TGoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-01-10
 */
@Service
public class TGoodsServiceImpl extends ServiceImpl<TGoodsMapper, TGoods> implements TGoodsService {

    @Autowired
    private TGoodsMapper goodsMapper;

    @Override
    public List<TGoods> queryByIdList(Set<Long> idList) {

        return goodsMapper.selectBatchIds(idList);
    }
}
